<!DOCTYPE html>
<html>
    <head>
        <link rel="shortcut icon" href="/favicon.ico?v=1" type="image/x-icon">
        <link rel="icon" href="/favicon.ico?v=1" type="image/x-icon">
        
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!-- Bootstrap -->
        <link href="{{ asset('css/bootstrap.css') }}" rel="stylesheet" media="screen">

        <!-- HTML5 Shim and Respond.js add IE8 support of HTML5 elements and media queries -->
        {% include 'BraincraftedBootstrapBundle::ie8-support.html.twig' %}
        
         <!-- jQuery (necessary for Bootstraps JavaScript plugins) -->
         <!-- <script src="{{ asset('js/jquery.js') }}"></script> -->
        {#<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>#}
        <script src="{{ asset('bundles/budgetbudget/js/jquery/jquery.1.11.2.js') }}"></script>
        <script src="{{ asset('bundles/budgetbudget/js/jquery/jquery-migrate-1.0.0.js') }}"></script>
        {#<script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>#}
        
        <!-- Jq Grid -->
        <script src="{{ asset('bundles/openifyjqgrid/js/i18n/grid.locale-en.js') }}"></script>
        <script src="{{ asset('bundles/openifyjqgrid/js/jquery.jqGrid.min.js') }}"></script>
        {#<link href="{{ asset('bundles/openifyjqgrid/css/ui.jqgrid.css') }}" rel="stylesheet" media="screen">#}

        {% block stylesheets %}
        {% endblock stylesheets %}

        {% block javascripts %}
            <script src="{{ asset('bundles/budgetbudget/ring.js/underscore.js') }}"></script>
            <script src="{{ asset('bundles/budgetbudget/ring.js/ring.js') }}"></script>
        {% endblock javascripts %}
        
    </head>
    <body>
        
        {% include 'BudgetBudgetBundle:Elements:menu.html.twig' %}
       
        {% if not is_granted("IS_AUTHENTICATED_REMEMBERED") %}
        {#
        <div class="container">
          <div class="jumbotron">
            <h1>Home budget</h1>
            <p>Application to manage expenditure. Generate charts and sets expenditure.</p>
            <p><a class="btn btn-primary btn-lg" role="button" href="{{ path('FOSUserBundle_register') }}">New account</a></p>
          </div>
        </div> <!-- /container -->
#}
        {% endif %} 
        
        {% include 'BudgetBudgetBundle:Elements:flash_message.html.twig' %}

        <div id="site-content">
            {% block fos_user_content %}
            {% endblock fos_user_content %}
            
            {% block home_content %}
            {% endblock home_content %}
        </div>        
        
        <!-- Include all JavaScripts, compiled by Assetic -->
        <script src="{{ asset('js/bootstrap.js') }}"></script>
    </body>
</html>
